package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;


/**
 * @author lilh
 */
public class FlowActivityJumpHistoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public FlowActivityJumpHistoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class AbstractGeneratedCriteria {
        protected List<Criterion> criteria;

        protected AbstractGeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdIsNull() {
            addCriterion("process_instance_id is null");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdIsNotNull() {
            addCriterion("process_instance_id is not null");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdEqualTo(String value) {
            addCriterion("process_instance_id =", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotEqualTo(String value) {
            addCriterion("process_instance_id <>", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdGreaterThan(String value) {
            addCriterion("process_instance_id >", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdGreaterThanOrEqualTo(String value) {
            addCriterion("process_instance_id >=", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdLessThan(String value) {
            addCriterion("process_instance_id <", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdLessThanOrEqualTo(String value) {
            addCriterion("process_instance_id <=", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdLike(String value) {
            addCriterion("process_instance_id like", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotLike(String value) {
            addCriterion("process_instance_id not like", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdIn(List<String> values) {
            addCriterion("process_instance_id in", values, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotIn(List<String> values) {
            addCriterion("process_instance_id not in", values, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdBetween(String value1, String value2) {
            addCriterion("process_instance_id between", value1, value2, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotBetween(String value1, String value2) {
            addCriterion("process_instance_id not between", value1, value2, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("task_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("task_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(String value) {
            addCriterion("task_id =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(String value) {
            addCriterion("task_id <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(String value) {
            addCriterion("task_id >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
            addCriterion("task_id >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(String value) {
            addCriterion("task_id <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(String value) {
            addCriterion("task_id <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLike(String value) {
            addCriterion("task_id like", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotLike(String value) {
            addCriterion("task_id not like", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<String> values) {
            addCriterion("task_id in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<String> values) {
            addCriterion("task_id not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(String value1, String value2) {
            addCriterion("task_id between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(String value1, String value2) {
            addCriterion("task_id not between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdIsNull() {
            addCriterion("from_activity_id is null");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdIsNotNull() {
            addCriterion("from_activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdEqualTo(String value) {
            addCriterion("from_activity_id =", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdNotEqualTo(String value) {
            addCriterion("from_activity_id <>", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdGreaterThan(String value) {
            addCriterion("from_activity_id >", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdGreaterThanOrEqualTo(String value) {
            addCriterion("from_activity_id >=", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdLessThan(String value) {
            addCriterion("from_activity_id <", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdLessThanOrEqualTo(String value) {
            addCriterion("from_activity_id <=", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdLike(String value) {
            addCriterion("from_activity_id like", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdNotLike(String value) {
            addCriterion("from_activity_id not like", value, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdIn(List<String> values) {
            addCriterion("from_activity_id in", values, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdNotIn(List<String> values) {
            addCriterion("from_activity_id not in", values, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdBetween(String value1, String value2) {
            addCriterion("from_activity_id between", value1, value2, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityIdNotBetween(String value1, String value2) {
            addCriterion("from_activity_id not between", value1, value2, "fromActivityId");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameIsNull() {
            addCriterion("from_activity_name is null");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameIsNotNull() {
            addCriterion("from_activity_name is not null");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameEqualTo(String value) {
            addCriterion("from_activity_name =", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameNotEqualTo(String value) {
            addCriterion("from_activity_name <>", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameGreaterThan(String value) {
            addCriterion("from_activity_name >", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameGreaterThanOrEqualTo(String value) {
            addCriterion("from_activity_name >=", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameLessThan(String value) {
            addCriterion("from_activity_name <", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameLessThanOrEqualTo(String value) {
            addCriterion("from_activity_name <=", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameLike(String value) {
            addCriterion("from_activity_name like", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameNotLike(String value) {
            addCriterion("from_activity_name not like", value, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameIn(List<String> values) {
            addCriterion("from_activity_name in", values, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameNotIn(List<String> values) {
            addCriterion("from_activity_name not in", values, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameBetween(String value1, String value2) {
            addCriterion("from_activity_name between", value1, value2, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andFromActivityNameNotBetween(String value1, String value2) {
            addCriterion("from_activity_name not between", value1, value2, "fromActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityIdIsNull() {
            addCriterion("to_activity_id is null");
            return (Criteria) this;
        }

        public Criteria andToActivityIdIsNotNull() {
            addCriterion("to_activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andToActivityIdEqualTo(String value) {
            addCriterion("to_activity_id =", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdNotEqualTo(String value) {
            addCriterion("to_activity_id <>", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdGreaterThan(String value) {
            addCriterion("to_activity_id >", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdGreaterThanOrEqualTo(String value) {
            addCriterion("to_activity_id >=", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdLessThan(String value) {
            addCriterion("to_activity_id <", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdLessThanOrEqualTo(String value) {
            addCriterion("to_activity_id <=", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdLike(String value) {
            addCriterion("to_activity_id like", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdNotLike(String value) {
            addCriterion("to_activity_id not like", value, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdIn(List<String> values) {
            addCriterion("to_activity_id in", values, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdNotIn(List<String> values) {
            addCriterion("to_activity_id not in", values, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdBetween(String value1, String value2) {
            addCriterion("to_activity_id between", value1, value2, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityIdNotBetween(String value1, String value2) {
            addCriterion("to_activity_id not between", value1, value2, "toActivityId");
            return (Criteria) this;
        }

        public Criteria andToActivityNameIsNull() {
            addCriterion("to_activity_name is null");
            return (Criteria) this;
        }

        public Criteria andToActivityNameIsNotNull() {
            addCriterion("to_activity_name is not null");
            return (Criteria) this;
        }

        public Criteria andToActivityNameEqualTo(String value) {
            addCriterion("to_activity_name =", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameNotEqualTo(String value) {
            addCriterion("to_activity_name <>", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameGreaterThan(String value) {
            addCriterion("to_activity_name >", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameGreaterThanOrEqualTo(String value) {
            addCriterion("to_activity_name >=", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameLessThan(String value) {
            addCriterion("to_activity_name <", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameLessThanOrEqualTo(String value) {
            addCriterion("to_activity_name <=", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameLike(String value) {
            addCriterion("to_activity_name like", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameNotLike(String value) {
            addCriterion("to_activity_name not like", value, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameIn(List<String> values) {
            addCriterion("to_activity_name in", values, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameNotIn(List<String> values) {
            addCriterion("to_activity_name not in", values, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameBetween(String value1, String value2) {
            addCriterion("to_activity_name between", value1, value2, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andToActivityNameNotBetween(String value1, String value2) {
            addCriterion("to_activity_name not between", value1, value2, "toActivityName");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("`comment` is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("`comment` is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("`comment` =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("`comment` <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("`comment` >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("`comment` >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("`comment` <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("`comment` <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("`comment` like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("`comment` not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("`comment` in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("`comment` not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("`comment` between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("`comment` not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCreateNameIsNull() {
            addCriterion("create_name is null");
            return (Criteria) this;
        }

        public Criteria andCreateNameIsNotNull() {
            addCriterion("create_name is not null");
            return (Criteria) this;
        }

        public Criteria andCreateNameEqualTo(String value) {
            addCriterion("create_name =", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotEqualTo(String value) {
            addCriterion("create_name <>", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameGreaterThan(String value) {
            addCriterion("create_name >", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameGreaterThanOrEqualTo(String value) {
            addCriterion("create_name >=", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLessThan(String value) {
            addCriterion("create_name <", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLessThanOrEqualTo(String value) {
            addCriterion("create_name <=", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLike(String value) {
            addCriterion("create_name like", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotLike(String value) {
            addCriterion("create_name not like", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameIn(List<String> values) {
            addCriterion("create_name in", values, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotIn(List<String> values) {
            addCriterion("create_name not in", values, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameBetween(String value1, String value2) {
            addCriterion("create_name between", value1, value2, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotBetween(String value1, String value2) {
            addCriterion("create_name not between", value1, value2, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends AbstractGeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}